<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- 引入 Bootstrap -->
      <link href="css/bootstrap-3.3.7/css/bootstrap.min.css" rel="stylesheet">

      <!-- HTML5 Shim 和 Respond.js 用于让 IE8 支持 HTML5元素和媒体查询 -->
      <!-- 注意： 如果通过 file://  引入 Respond.js 文件，则该文件无法起效果 -->
      <!--[if lt IE 9]>
         <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
         <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
      <![endif]-->
      <link rel="stylesheet" href="js/range/jquery.range.css">
     <link rel="stylesheet" href="css/index.css" >
    <script type="text/javascript" src="js/index.js"></script>
     <title>智能定制搭配</title>
</head>
<body>
		<nav class="navbar navbar-default">
			<div class="top_nav">
				<img src="imgs/gg3.png">
			</div>
		</nav>
	<!-- 基础信息 -->
	<div id="basicInfo">
	<div class="progress">
		<div class="progress-bar" role="progressbar" aria-valuenow="60"  aria-valuemin="0" aria-valuemax="100" style="width:17%;">
			1/6
		</div>
	</div>
	<div class="container">
		<div class="row">
			<div class="col-xs-2 col-xs-offset-1 progress-text">
				基础
			</div>
		</div>
		<form action="step3.html">
			<div class="row">
				<div>
					<h4 class="base-title">选择年龄</h4>
				</div>
				<div class="range center-block">
					<input type="hidden" class="age-slider" name="age" value="25">
				</div>
			</div>
			<div class="row">
				<div>
					<h4 class="base-title">选择身高cm</h4>
				</div>
				<div class="range center-block">
					<input type="hidden" class="height-slider" name="height" value="170">
				</div>
			</div>
			<div class="row">
				<div>
					<h4 class="base-title">选择体重KG</h4>
				</div>
				<div class="range center-block">
					<input type="hidden" class="weight-slider" name="height" value="50">
				</div>
			</div>
			<div class="row butn">
			<a class="pull-left pre-btn" href="index.html">上一步</a>
				<div class="col-xs-6 col-xs-offset-3">
					<button type="submit" class="btn btn-warning btn-lg btn-block input-btn" id="stepTo2">下一步</a>
				</div>
			</div>
			
		</form>
	</div>
	</div>
      <script src="https://code.jquery.com/jquery.js"></script>
      <script src="css/bootstrap-3.3.7/js/bootstrap.min.js"></script>
      <script type="text/javascript" src="js/range/jquery.range.js"></script>
         <script type="text/javascript">
      	$(function(){
      		$(".age-slider").jRange({
      			from:15,
      			to:45,
      			step:1,
      			scale:[15,25,35,45],
      			format:'%s',
      			width:300,
      			showLabels:true,
      			showScale:true
      		});
      		$(".height-slider").jRange({
      			from:150,
      			to:190,
      			step:1,
      			scale:[150,160,170,180,190],
      			format:'%s',
      			width:300,
      			showLabels:true,
      			showScale:true
      		});
      		$(".weight-slider").jRange({
      			from:40,
      			to:100,
      			step:1,
      			scale:[40,60,80,100],
      			format:'%s',
      			width:300,
      			showLabels:true,
      			showScale:true
      		});
      	})
      	$("#stepTo2").click(function(){
      		 window.location.href="step2.html"; 
      	})
      </script>
</body>
</html>